package com.dingxin.ship_together_api.service;

import com.dingxin.ship_together_api.common.utils.PageUtils;
import com.dingxin.ship_together_api.entity.ShipInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dingxin.ship_together_api.entity.vo.PageQueryVo;

/**
 * Author: ctj
 * Date: 2022-09-14
 * Time: 11:21
 */

public interface ShipInfoService extends IService<ShipInfo>{

    boolean save(ShipInfo shipInfo);

    /**
     * 逻辑删除（不建议使用mp逻辑删除插件）
     * @param shipInfo
     * @return
     */
    boolean logicDelete(ShipInfo shipInfo);

    /**
     * 分页查询
     * @param pageQueryVo
     * @return
     */
    PageUtils selectPage(PageQueryVo pageQueryVo);
}
